<%@ page language="java" pageEncoding="utf-8"%>
<%@ page import="com.tc.dispatch.web.controller.*"%>
<%@ page import="com.tc.dispatch.web.exception.*"%>


<%@ page import="com.tc.dispatch.aa.model.*" %>
<%@ page import="com.tc.dispatch.web.model.TableName" %>

	
<jsp:useBean id="userState" scope="session"
	class="com.tc.dispatch.web.controller.UserState" />
	
	 <%if(!userState.isLoggedIn())
		response.sendRedirect("../common/login/login.jsp");
    if( !userState.checkPermission(TableName.TC_DP_DIANDU_PRICE, AAConstants.ACT_DB_UPDATE) )
		response.sendRedirect("../common/login/login.jsp?action=1"); %>
<%
	//    if( !userState.isLoggedIn() )
	//        throw new WEBException(WEBException.NOT_LOGGED_IN);
	/*   String param_topframe= "";

	try{
	   	 if( !userState.isLoggedIn() )
	           throw new WEBException(WEBException.NOT_LOGGED_IN);

	       param_topframe= request.getParameter("topframe");
	   	if (param_topframe== null)
	       	param_topframe= "1";
	   }
	   catch(WEBException ex)
	   {
	       int code= ex.getErrorCode();
	       response.sendRedirect("../error/error.jsp?code="+ code);
	       return;
	   }
	   catch(Exception ex){
	       response.sendRedirect("../error/error.jsp?code=3"); //数据异常
	       ex.printStackTrace();
	   	return;
	   }*/
%>

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>集团级智能化任务分配系统</title>
		<%
			response.setHeader("Cache-Control", "no-cache");
			response.setHeader("Pragma", "no-cache");
			response.setHeader("Expires",
					"Thu,   01   Dec   1900   16:00:00   GMT");
		%>

	<!--mstheme--><link rel="stylesheet" type="text/css" href="../_themes/sky/sky1011-109.css"><meta name="Microsoft Theme" content="sky 1011, default">
</head>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<STYLE type=text/css>
BODY {
	MARGIN: 0px;
	COLOR: #999999;
	FONT-FAMILY: Arial, Helvetica, sans-serif;
	BACKGROUND-COLOR: #ffffff;
	TEXT-DECORATION: none
}

BODY {
	FONT-SIZE: 12px;
	TEXT-DECORATION: none
}

TD {
	FONT-SIZE: 12px;
	TEXT-DECORATION: none
}

TH {
	FONT-SIZE: 12px;
	TEXT-DECORATION: none
}

#Layer1 {
	Z-INDEX: 2;
	VISIBILITY: visible;
	POSITION: absolute
}

#Layer2 {
	Z-INDEX: 1;
	LEFT: -1px;
	VISIBILITY: visible;
	POSITION: absolute
}

#Layer3 {
	Z-INDEX: 3;
	VISIBILITY: visible;
	WIDTH: 480px;
	POSITION: absolute
}

#Layer4 {
	Z-INDEX: 4;
	VISIBILITY: hidden;
	WIDTH: 480px;
	POSITION: absolute
}

.a431 {
	FONT-WEIGHT: bold;
	FONT-SIZE: 14px;
	COLOR: #000000;
	LINE-HEIGHT: 18px;
	FONT-FAMILY: "宋体"
}

.a444 {
	FONT-SIZE: 12px;
	COLOR: #666666;
	LINE-HEIGHT: 18px;
	FONT-FAMILY: "宋体"
}

input {
	border: 1px solid #000000;
}
</STYLE>
	<LINK href="images/css.css" type=text/css rel=stylesheet>
	<link rel="stylesheet" type="text/css"
		href="../JS/ext/resources/css/ext-all.css" />
	<script type="text/javascript"
		src="../JS/ext/adapter/ext/ext-base.js">
        </script>
	
        <script type="text/javascript" src="../dwr/engine.js"></script>
		<script type="text/javascript" src="../dwr/util.js"></script>
	<script type="text/javascript" src="../JS/ext/ext-all.js">
        </script>
        <script type="text/javascript"
			src="../dwr/interface/orderJiaGongDetail.js"></script>
	<script type="text/javascript" src="js/orderProcessIndex.js?v=3">
        </script>
	<STYLE type=text/css>
.STYLE1 {
	FONT-SIZE: 12px
}

#Layer5 {
	Z-INDEX: 5;
	LEFT: 760px;
	WIDTH: 203px;
	POSITION: absolute;
	TOP: -2px;
	HEIGHT: 237px
}
</STYLE>

	<BODY>

		<TABLE id=table109 cellSpacing=0 cellPadding=0 width=1004 border=0>
			<TBODY>
				<TR>
					<TD vAlign=top width=1004 background=images/top_logo.jpg height=48>
						<TABLE cellSpacing=0 cellPadding=0 width=1004 border=0
							id="table110">
							<TBODY>
								<TR>
									<TD background=../images/frame/top1.jpg bgColor=#ffffff
										height=68 style="font-size: 12px; text-decoration: none">
										<img border="0" src="../images/frame/logo.gif" width="560"
											height="68">
									</TD>
									<TD background=../images/frame/top1.jpg bgColor=#ffffff
										height=68 width="279"
										style="font-size: 12px; text-decoration: none">
										<div align="center">
											<table border="0" cellpadding="0" cellspacing="0" width="90%"
												id="table111">
												<tr>
													<td style="font-size: 12px; text-decoration: none">
														<p align="center">
															<a class="a" style="BEHAVIOR: url(#default#homepage)"
																onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('./');return false;"
																href="www.jsysbxg.com/#"> <span
																style="font-size: 9pt; text-decoration: none">
																	设为首页</span> </a>
															<A title=集团级智能化任务分配系统
																onclick="window.external.addFavorite('./','集团级智能化任务分配系统')"
																href="#"> <SPAN style="TEXT-DECORATION: none">加入收藏</SPAN>
															</A><a href="contact.asp"><span
																style="font-size: 9pt; text-decoration: none"><SPAN
																	style="FONT-SIZE: 9pt"> 联系我们</SPAN> </span> </a>
													</td>
												</tr>
												<tr>
													<td style="font-size: 12px; text-decoration: none">
														<div align="center">
															<font color="#000000">今天是： <script
																	language="JavaScript">
var enabled = 0; today = new Date();
var day; var date;
if(today.getDay()==0) day = "星期日"
if(today.getDay()==1) day = "星期一"
if(today.getDay()==2) day = "星期二"
if(today.getDay()==3) day = "星期三"
if(today.getDay()==4) day = "星期四"
if(today.getDay()==5) day = "星期五"
if(today.getDay()==6) day = "星期六"
document.fgColor = "000000";
date = "" + (today.getYear()) + "年" + (today.getMonth() + 1 ) + "月" + today.getDate() + "日" + day +"";
document.write(date);
      </script> </font>
														</div>
													</td>
												</tr>
												<tr>
													<td style="font-size: 12px; text-decoration: none">
														<div align="center">
															<font color="#000000"><%=userState.isLoggedIn() ? userState.getUserId()
					+ " 欢迎您!" : "还没有登陆"%> </font>
														</div>
													</td>
												</tr>
											</table>
										</div>
									</TD>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD vAlign=top background="../images/frame/t1_01.jpg">
						<table id="__01" width="1004" height="41" border="0"
							cellpadding="0" cellspacing="0">
							<tr>
								<td>
									<img src="../images/frame/t1_01.jpg" width="10" height="41"
										alt="" />
								</td>
								<td>
									<img src="../images/frame/t1_02.jpg" width="50" height="41"
										alt="" />
								</td>
								<td>
									<a href="../common/portal/index.jsp"><img
											src="../images/frame/up_bar/xitongjieshao.gif" width="94"
											height="41" border="0" /> </a>
								</td>
								<td>
									<a href="../order/orderIndex.jsp"><img
											src="../images/frame/up_bar/dingdanjiesuan.gif" width="101"
											height="41" border="0" /> </a>
								</td>
								<td>
									<a href="../cost/costIndex.jsp"><img
											src="../images/frame/up_bar/dingdanbaojia.gif" width="97"
											height="41" border="0" /> </a>
								</td>
								<td>
									<a href="../similary/similaryIndex.jsp"><img
											src="../images/frame/up_bar/xiangsidufenxi.gif" width="100"
											height="41" border="0" /> </a>
								</td>
								<td>
									<a href="../dispatch/dispatchIndex.jsp"><img
											src="../images/frame/up_bar/renwufenpei.gif" width="101"
											height="41" border="0" /> </a>
								</td>
								<td>
									<a href="../cangku/cangkuIndex.jsp"><img
											src="../images/frame/up_bar/cangkuchaxun.gif" width="98"
											height="41" border="0" /> </a>
								</td>
								<td>
									<a href="../aaservice/aaserviceIndex.jsp"><img
											src="../images/frame/up_bar/guanliyuan.gif" width="99"
											height="41" border="0" /> </a>
								</td>
								<td>
									<a href="../common/login/login.jsp"><img
											src="../images/frame/up_bar/denglu.gif" width="99"
											height="41" border="0" /> </a>
								</td>
								<td>
									<img src="../images/frame/t1_12.jpg" width="75" height="41"
										alt="" />
								</td>
							</tr>
						</table>
					</TD>
				</TR>

			</TBODY>
		</TABLE>
		<TABLE id=table17 height=3 cellSpacing=0 cellPadding=0 width=1004
			bgColor=#2e79c6 border=0>
			<TBODY>
				<TR>
					<TD>
						<TABLE id=table18 height=3 cellSpacing=0 cellPadding=0 width=252
							bgColor=#929292 border=0>
							<TBODY>
								<TR>
									<TD width=200></TD>
									<TD width=1 bgColor=#ffffff></TD>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
			</TBODY>
		</TABLE>

		<TABLE id=table14 cellSpacing=0 cellPadding=0 width=1004
			bgColor=#f6f6f6 border=0>
			<TBODY>
				<TR>
					<TD>
						<TABLE id=table15 cellSpacing=0 cellPadding=0 width=991 border=0>
							<TBODY>
								<TR>
									<TD vAlign=top width=250 background=../images/frame/left.jpg>
										<div align="right">
											<table border="0" cellpadding="0" cellspacing="0" width="246"
												id="table112">
												<tr>
													<td>
														<table border="0" cellpadding="0" cellspacing="0"
															width="100%" id="table116">
															<tr>
																<td style="font-size: 12px; text-decoration: none">
																	<table cellSpacing="0" cellPadding="0" width="100%"
																		border="0" id="table117">
																		<tr>
																			<td style="font-size: 12px; text-decoration: none">
																				<img src="../images/frame/left/gongneng_list.gif"
																					width="256" height="44">
																			</td>
																		</tr>
																		<tr>
																			<td style="font-size: 12px; text-decoration: none">
																				<img src="../images/frame/left/left111.JPG"
																					width="246" height="21">
																			</td>
																		</tr>
																	</table>
																	<table cellSpacing="0" cellPadding="0" width="100%"
																		background="../images/frame/000.jpg" border="0"
																		id="table118">
																		<tr>
																			<td width="10%" height="60"
																				style="font-size: 12px; text-decoration: none">
																			</td>
																			<td align="middle" width="83%"
																				style="font-size: 12px; text-decoration: none">

																				<SCRIPT language=javascript>
function opencat(cat,img){
	if(cat.style.display=="none"){
	cat.style.display="";
	img.src="../images/frame/left/class2.gif";
	}	else {
	cat.style.display="none"; 
	img.src="../images/frame/left/class1.gif";
	}
}
</Script>
																				<TABLE cellSpacing=0 cellPadding=0 width="99%"
																					border=0>
																					<TR>
																						<TD style="PADDING-LEFT: 12px" language=javascript
																							style="CURSOR: hand" width=34 height=31
																							align=center>
																							<IMG src="../images/frame/left/class1.gif"
																								width=20 height=20>
																						</TD>
																						<TD>
																							<a href="priceInf.jsp">从ERP导入询价信息</a>
																						</TD>
																					</TR>

																					<TR>
																						<TD style="PADDING-LEFT: 12px" language=javascript
																							style="CURSOR: hand" width=34 height=31
																							align=center>
																							<IMG id=xiuGai
																								src="../images/frame/left/class1.gif" width=20
																								height=20>
																						</TD>
																						<TD>
																							<a href="quickPriceIndex.jsp">快速报价</a>
																						</TD>
																					</TR>
																					<TR>
																						<TD style="PADDING-LEFT: 12px" language=javascript
																							style="CURSOR: hand" width=34 height=31
																							align=center>
																							<IMG id=xiuGai
																								src="../images/frame/left/class1.gif" width=20
																								height=20>
																						</TD>
																						<TD>
																							<a href="detailPriceIndex.jsp">详细报价</a>
																						</TD>
																					</TR>
																					<TR>
																						<TD style="PADDING-LEFT: 12px" language=javascript
																							style="CURSOR: hand" width=34 height=31
																							align=center>
																							<IMG id=xiuGai
																								src="../images/frame/left/class1.gif" width=20
																								height=20>
																						</TD>
																						<TD>
																							<a href="priceSearchIndex.jsp">以往报价信息</a>
																						</TD>
																					</TR>
																					<TR>
																						<TD style="PADDING-LEFT: 12px" language=javascript
																							
																							style="CURSOR: hand" width=34 height=31
																							align=center>
																							<IMG id=process
																								src="../images/frame/left/class1.gif" width=20
																								height=20>
																						</TD>
																						<TD>
																							<a href="orderProcessIndex.jsp">察看加工流程</a>
																						</TD>
																					</TR>
																				</TABLE>

																			</td>
																			<td width="7%"
																				style="font-size: 12px; text-decoration: none">
																			</td>
																		</tr>
																	</table>
																	<table cellSpacing="0" cellPadding="0" width="100%"
																		border="0" id="table119">
																		<tr>
																			<td style="font-size: 12px; text-decoration: none">
																				<img src="../images/frame/left/00.gif" width="256"
																					height="29">
																			</td>
																		</tr>
																	</table>
																	<table cellSpacing="0" cellPadding="0" width="100%"
																		border="0" id="table120">
																		<tr>
																			<td style="font-size: 12px; text-decoration: none">
																			</td>
																		</tr>
																	</table>
																	<table cellSpacing="0" cellPadding="0" width="100%"
																		border="0" id="table121">
																		<tr>
																			<td style="font-size: 12px; text-decoration: none">
																			</td>
																		</tr>
																	</table>
																</td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</div>
									</TD>
									<TD width=1 bgColor=#e0e0e0></TD>
									<TD vAlign=top width=714 background=../images/frame/in_bka.gif>
										
										<DIV align=right>
											<TABLE id=table47 cellSpacing=0 cellPadding=0 width=725
												bgColor=#ffffff border=0>
												<TBODY>
													<TR>
														<TD vAlign=top width=8>
															<IMG height=378 src="../images/frame/main/in_bkb.gif"
																width=8 border=0>
														</TD>
														<TD vAlign=top>
															<TABLE id=table109 cellSpacing=0 cellPadding=0 width=727
																border=0>
																<TBODY>
																	<TR>
																		<TD vAlign=top align=middle height=125>
																			<TABLE cellSpacing=0 cellPadding=0 width="101%"
																				border=0>
																				<TBODY>
																					<TR>
																						<TD>
																							<DIV align=left>
																								<IMG height=36
																									src="../images/frame/main/xitongjieshao.gif"
																									width=727>
																							</DIV>
																						</TD>
																					</TR>
																					<TR>
																						<TD vAlign=top align=left>
																							<TABLE cellSpacing=0 cellPadding=0 width="100%"
																								border=0>
																								<TBODY>
																									<TR>
																										<TD height=332 valign="top">
																											<div align="center">
																												<table border="0" cellpadding="0"
																													cellspacing="0" width="98%" id="table125">
																													<tr>
																														<td>
																															<table width="100%" border="0"
																																cellspacing="0" cellpadding="0">
																																<TR>
																																	<TD width="453" height=28>
																																		|&nbsp;
																																		<a href="costIndex.jsp">订单报价</a>&nbsp;&gt;&gt;主界面
																																	</TD>

																																</TR>
																																<TR>
																																	<TD height=1 colspan="2">
																																		<p align="center">
																																			<IMG height=1
																																				src="../images/frame/left/1x1_pix.gif"
																																				width=10>
																																			集团级智能化任务分配系统--订单报价
																																	</TD>
																																</TR>
																																<TR>
																																	<TD id="main">
																																		
																																	</td>
																																</tr>
																															</table>
																												</table>
																											</div>
																										</TD>
																									</TR>
																								</TBODY>
																							</TABLE>
																						</TD>
																					</TR>
																				</TBODY>
																			</TABLE>
																		</TD>
																	</TR>
																	<TR>
																		<TD align=middle height=2>
																			<!--内容STANTY-->
																			<!--内容ＥＮＤ-->
																		</TD>
																	</TR>
																</TBODY>
															</TABLE>
														</TD>
													</TR>
												</TBODY>
											</TABLE>
										</DIV>
									</TD>
									<TD width=1 bgColor=#bbbbbb>
										<DIV id=floater
											style="Z-INDEX: 1; LEFT: 981px; POSITION: absolute; TOP: 415px">
											<TABLE cellSpacing=0 cellPadding=0 border=0>
												<TBODY>
													<TR>
														<TD>
															<A href="#top"> <IMG height=24
																	src="../images/frame/main/top.gif" width=18 border=0>
															</A>
														</TD>
													</TR>
												</TBODY>
											</TABLE>
											<SCRIPT language=JavaScript>
	self.onError=null;
	currentX = currentY = 0;  
	whichIt = null;           
	lastScrollX = 0; lastScrollY = 0;
	NS = (document.layers) ? 1 : 0;
	IE = (document.all) ? 1: 0;
	<!-- STALKER CODE -->
	function heartBeat() {
		if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; }
	    if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
		if(diffY != lastScrollY) {
	                percent = .1 * (diffY - lastScrollY);
	                if(percent > 0) percent = Math.ceil(percent);
	                else percent = Math.floor(percent);
					if(IE) document.all.floater.style.pixelTop += percent;
					if(NS) document.floater.top += percent; 
	                lastScrollY = lastScrollY + percent;
	    }
		if(diffX != lastScrollX) {
			percent = .1 * (diffX - lastScrollX);
			if(percent > 0) percent = Math.ceil(percent);
			else percent = Math.floor(percent);
			if(IE) document.all.floater.style.pixelLeft += percent;
			if(NS) document.floater.left += percent;
			lastScrollX = lastScrollX + percent;
		}	
	}
	<!-- /STALKER CODE -->
	<!-- DRAG DROP CODE -->
	if(NS || IE) action = window.setInterval("heartBeat()",1);
</SCRIPT>
										</DIV>
									</TD>
									<TD width=1 bgColor=#ffffff></TD>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
			</TBODY>
		</TABLE>
		<TABLE id=table7 height=6 cellSpacing=0 cellPadding=0 width=1004
			background=../images/frame/in_bk3.gif border=0>
			<TBODY>
				<TR>
					<TD>
						<TABLE id=table13 height=6 cellSpacing=0 cellPadding=0 width=252
							background=../images/frame/in_bk4.gif border=0>
							<TBODY>
								<TR>
									<TD width=200></TD>
									<TD width=1 bgColor=#ffffff></TD>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
			</TBODY>
		</TABLE>

	</BODY>

	
</HTML>


